<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
    <meta charset="UTF-8">
    <link rel="stylesheet" href="${initParam.root}css/table.css" type="text/css">

<table class="registerMemberTable"  style="margin: 0 auto ; width: 800px" >
<tr>
<td colspan="8">
<h2>구매자리스트</h2>
</td>
</tr>
	<tr>
			<th class="customerId">아이디&nbsp;&nbsp;</th>
			<th class="customerPassword">비밀번호</th>
			<th class="customerEmail">이메일</th>
			<th class="customerName">이름</th>
			<th class="customerBirthdate">생년월일</th>
			<th class="customerGender">성별&nbsp;&nbsp;&nbsp;</th>
			<th class="customerTel">연락처</th>
			<th class="customerAddress">주소</th>
		</tr>
<c:forEach items="${requestScope.list }" var="list">
<tr><td> ${list.customerId }&nbsp;&nbsp; </td><td> ${list.customerPassword }&nbsp;&nbsp; </td><td> ${list.customerEmail } &nbsp;&nbsp;</td>
<td> ${list.customerName }&nbsp;&nbsp; </td><td> ${list.customerBirthdate }&nbsp;&nbsp;
 </td><td> ${list.customerGender } &nbsp;&nbsp;</td><td> ${list.customerTel }&nbsp;&nbsp; </td><td> ${list.customerAddress } &nbsp;&nbsp;</td></tr>

</c:forEach>
</table>